package com.hqyj.product.mapper;

import com.hqyj.product.model.ProductPlan;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface ProductPlanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductPlan record);

    int insertSelective(ProductPlan record);

    ProductPlan selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductPlan record);

    int updateByPrimaryKey(ProductPlan record);

    List<ProductPlan> queryAllProductPlan();

    int addProductPlanByOrderInfo(String productName, Integer orderQuantity);
}